package com.github.codemperor.core.message.omnisend.bean.order;

public class BillingAddress {

    private String firstName;
    private String lastName;
    private String phone;
    private String country;
    private String countryCode;
    private String state;
    private String city;
    private String address;
    private String postalCode;
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }
    public String getFirstName() {
        return firstName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }
    public String getLastName() {
        return lastName;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getPhone() {
        return phone;
    }

    public void setCountry(String country) {
        this.country = country;
    }
    public String getCountry() {
        return country;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }
    public String getCountryCode() {
        return countryCode;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getState() {
        return state;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public String getCity() {
        return city;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getAddress() {
        return address;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }
    public String getPostalCode() {
        return postalCode;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"firstName\":\"")
                .append(firstName).append('\"');
        sb.append(",\"lastName\":\"")
                .append(lastName).append('\"');
        sb.append(",\"phone\":\"")
                .append(phone).append('\"');
        sb.append(",\"country\":\"")
                .append(country).append('\"');
        sb.append(",\"countryCode\":\"")
                .append(countryCode).append('\"');
        sb.append(",\"state\":\"")
                .append(state).append('\"');
        sb.append(",\"city\":\"")
                .append(city).append('\"');
        sb.append(",\"address\":\"")
                .append(address).append('\"');
        sb.append(",\"postalCode\":\"")
                .append(postalCode).append('\"');
        sb.append('}');
        return sb.toString();
    }
}